simplex_3d

function simplex_3d(perm_mod12: list<integer>, perm: list<integer>, grad3: list<integer>, x: decimal, y: decimal, z: decimal): decimal